package com.ruoyi.project.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.project.domain.ProjectCategory;
import com.ruoyi.project.domain.ProjectTemplate;
import com.ruoyi.project.req.ProjectCategoryReq;

import java.util.List;

/**
* @author wujiapeng
* @description 针对表【project_category(项目划分分类)】的数据库操作Service
* @createDate 2025-07-13 19:39:21
*/
public interface ProjectCategoryService extends IService<ProjectCategory> {

    int add(List<ProjectCategory> projectCategory,Long projectId,String userName, Long deptId, Long userId);

    int updateProjectCategory(List<ProjectCategory> projectCategory, Long projectId, String userName, Long deptId, Long userId, List<Long> ids);

    List<ProjectCategory> listAll(ProjectCategoryReq req);

    ProjectTemplate getTree();


}
